GCC=gcc
CFLAGS=-g -Wall -O2
LDFLAGS=

COMPILE.c=$(GCC) $(CFLAGS) -c
.o:.c
.o:.S

all: ld4
ld4: helper_asm.S  helper.c  helper.h  ld4.S  ld4_test.c

run: all
	./ld4

.PHONY: clean
clean:
	rm -f *.o ld4
